import React, { useState } from 'react'
export default function Home() {
    const [count, setCount] = useState(0)
    return (
        <div>
            首页
            <div>
                计数：{count}
            </div>
            <div>
                <button onClick={()=>setCount(count+1)}>增加</button>
            </div>
        </div>
    )
}
